//
//  RequestManager.h
//  Leisure
//
//  Created by xalo on 16/6/29.
//  Copyright © 2016年 蓝鸥科技有限公司西安分公司. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^RequestComplete)(NSData *data);
typedef void(^UpdateUI)();
@interface RequestManager : NSObject

+ (void)fetchDataWithUrl:(NSString *)url parameter:(NSDictionary *)parameter method:(NSString *)method complete:(RequestComplete)complete updateUI:(UpdateUI)update;
@end
